<a class='component-ref reference-link' href='#component_{{ component.id }}'>
  <span class='bold'>{% if index %}{{ component.index }}{% endif %} {% if name %}{{ component.name }}{% endif %}</span>
</a>